package com.mzm.tests;

public class UpdateStatus {

	String info;
	int rowsAffected;

	public UpdateStatus(String info, int rowsAffected) {
		this.info = info;
		this.rowsAffected = rowsAffected;
	}

	public String getSql() {
		return info;
	}

	public void setSql(String sql) {
		this.info = sql;
	}

	public int getRowsAffected() {
		return rowsAffected;
	}

	public void setRowsAffected(int rowsAffected) {
		this.rowsAffected = rowsAffected;
	}

	@Override
	public String toString() {
		return info + " > " + rowsAffected + " rows affected.";
	}

}
